package com.llc.mall.rbac.interfaces.vo;

import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;
import java.util.List;

public record MenuSimpleVo(
        @Schema(description = "菜单id")
        Long menuId,
        @Schema(description = "父菜单ID，一级菜单为0")
        Long parentId,
        @Schema(description = "设置该路由在侧边栏和面包屑中展示的名字")
        String title,
        @Schema(description = "菜单权限列表")
        List<MenuPermissionSimpleVO> menuPermissions // Note: This nested record also needs to be defined
) implements Serializable {
}
